﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewMigrate
{
    public class Grupo
    {
        [Key]
        public int GrupoID{ get; set; }
        [Required,MaxLength(20)]
        public string titulo { get; set; }
        public string desc { get; set; }
        [Required]
        public ICollection<Usuario> Usuario { get; set; }        
        public ICollection<Moderador> Moderador { get; set; }
        
    }
}
